package com.huilian.iotbox.client.service.impl;

import com.huilian.iotbox.client.dao.SystemRiskConfigDao;
import com.huilian.iotbox.client.service.SystemRiskConfigService;
import com.huilian.iotbox.data.po.SystemRiskConfig;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 龙 路 飞
 * @CreateDate: 2023-04-04 18:19
 * @Description:
 */
@Service
public class SystemRiskConfigServiceImpl implements SystemRiskConfigService {
    @Resource
    private SystemRiskConfigDao systemRiskConfigDao;
    /**
     * 根据TYPE查询拦截数据
     */
    @Override
    public SystemRiskConfig findSystemRiskConfigByType(Integer type) {
        SystemRiskConfig systemRiskConfig = systemRiskConfigDao.findSystemRiskConfigByType(type);
        return systemRiskConfig;
    }
}
